load("//eden/scm:targets.bzl", "rust_python_library")

oncall("sapling")

rust_python_library(
    name = "pyrepo",
    srcs = glob(["src/**/*.rs"]),
    crate_root = "src/lib.rs",
    deps = [
        "fbsource//third-party/rust:parking_lot",
        "//eden/scm/lib/checkout:checkout",
        "//eden/scm/lib/context:context",
        "//eden/scm/lib/cpython-ext:cpython-ext",
        "//eden/scm/lib/repo:repo",
        "//eden/scm/lib/repolock:repolock",
        "//eden/scm/lib/types:types",
        "//eden/scm/lib/util:util",
        "//eden/scm/lib/workingcopy:workingcopy",
        "//eden/scm/saplingnative/bindings/modules/pyconfigloader:pyconfigloader",
        "//eden/scm/saplingnative/bindings/modules/pydag:pydag",
        "//eden/scm/saplingnative/bindings/modules/pyeagerepo:pyeagerepo",
        "//eden/scm/saplingnative/bindings/modules/pyedenapi:pyedenapi",
        "//eden/scm/saplingnative/bindings/modules/pymetalog:pymetalog",
        "//eden/scm/saplingnative/bindings/modules/pyrevisionstore:pyrevisionstore",
        "//eden/scm/saplingnative/bindings/modules/pyworkingcopy:pyworkingcopy",
    ],
)
